package com.resataurant.Service.Impl;

import com.resataurant.Dao.OrderDao;
import com.resataurant.Entity.Order;

import java.util.List;

public class OrderServiceImpl implements  com.resataurant.Service.OrderService{

        public int addOrder(Order order) {
            return new OrderDao().addOrder(order);
        }

        public int addCartOrder(List<Order> orders) {
            return new OrderDao().addCartOrder(orders);
        }
}
